package club.zhcs.capture.bean.dept;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Name;
import org.nutz.dao.entity.annotation.Table;

import com.dgj.utils.db.data.Entity;

/**
 * 项目
 * 
 * @author wkipy
 *
 */
@Table("gj_project")
@Comment("合同表")
public class Project extends Entity {

	/**
	 * 分支机构id
	 */
	@Column("p_sub_id")
	@Comment("所属分支机构id")
	private int subsidiaryId;

	@Name
	@Column("p_name")
	@Comment("项目名称")
	private String name;

	@Column("p_code")
	@Comment("项目编码")
	private String code;

	@Column("p_principal_id")
	@Comment("项目负责人id")
	private int principalId;

	@Column("p_des")
	@Comment("项目描述")
	@ColDefine(width = 500)
	private String description;

	@Column("p_address")
	@Comment("项目地址")
	@ColDefine(width = 500)
	private String address;

	@Column("p_phone")
	@Comment("项目电话")
	@ColDefine(width = 500)
	private String phone;

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getSubsidiaryId() {
		return subsidiaryId;
	}

	public void setSubsidiaryId(int subsidiaryId) {
		this.subsidiaryId = subsidiaryId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public int getPrincipalId() {
		return principalId;
	}

	public void setPrincipalId(int principalId) {
		this.principalId = principalId;
	}

}
